<!DOCTYPE html>
<html lang="zh"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>知识条目-管理端</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/daterangepicker.css" />
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/productManager/userKnowledgItem.css">
    <link rel="stylesheet" href="/css/followPlanManager/followPlanInfo.css"/>
<!--    编辑器-->
<!--    <link rel="stylesheet" href="/js/crm/trumbowy/assets/design/css/trumbowyg.css">-->
    <link rel="stylesheet" href="/css/froala_editor.min.css" />
    <link rel="stylesheet" href="/css/froala_editor.pkgd.min.css" />
    <script th:inline="javascript">
        var ifAdmin= [[${ifAdmin}]];
    </script>
<!--    <link rel="stylesheet" href="/css/activityManager/productGiftForm.css"/>-->
</head>
<body>
    <div class="container-fluid container-know">
        <div class="card">
            <div class="card-header">
                <h1>知识条目</h1>
            </div>
            <div class="card-body">

                <div class="tabsbox" id="tab">
                    <!-- tab 标签 -->
                    <nav class="fisrstnav">
                        <ul>

                        </ul>
                        <a href="javascript:;" class="prev" onclick="prevFun()"> <span class="mdi mdi-chevron-left"></span></a>
                        <a href="javascript:;" class="next" > <span class="mdi mdi-chevron-right"></span></a>
<!--                        onclick="tabAdd()"-->
                        <div class="tabadd" >
                            <button type="button" class="btn-tab" data-toggle="modal" data-target="#tabAdd"><span>+</span></button>

                        </div>
                    </nav>

                    <!-- tab 内容 -->
                    <div class="tabscon">
                        <button type="button" class="btn-section" data-toggle="modal" data-target="#trumbowyg" >添加章节内容</button>
                        <section class="conactive">

                        </section>
                        <!--分页器-->

                    </div>
                    <br/>
                    <br/>
                    <div class="row pager-right-bottom" style="bottom: 0">
                        <div class="col-sm-12">
                            <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 pull-right" >
                                <div id="pagerContant" class="pager clearfix pull-right">
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </div>
    </div>

    <!--绑定用户弹出框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="tabAdd">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <form action="" id="Addform">

                    <div class="modal-body">
                        <input type="hidden" id="callId" name="callId">
                        <div class="row">
                            <div class="form-group col-lg-6 col-md-6 col-sm-6 col-xs-12" id="tabNamediv">
                                <label class="control-label" style="width: 120px;text-align: left;" onclick="addKnowName()">添加知识类目名称</label>
                                <div >
                                    <input type="text" class="form-control" id="tabName" name="tabName"  placeholder="请输入知识类目名称" maxlength="15">
                                </div>
                            </div>
                        </div>


                    </div>
                    <div class="modal-footer" style="display: flex;justify-content: center;">&nbsp;&nbsp;&nbsp;
                        <button style="margin-right: 20px;" class="btn btn-primary form-group" type="submit" name="submit" onclick="sureBtnAdd()" >确定</button>
                        <button type="button" class="btn btn-default" data-dismiss="modal" >关闭</button>
                    </div>

                </form>

            </div>
        </div>
    </div>

    <div class="modal fade" tabindex="-1" role="dialog" id="trumbowyg" >
        <div class="modal-dialog" role="document" style="width: 90%">
            <div class="modal-content">
                <form action="" id="trumbowyForm">
                    <div class="modal-body">


                        <div class="row">
                            <div class="form-group col-lg-6 col-md-6 col-sm-6 col-xs-12 " >
                                <label class="control-label " style="width: 120px;text-align: left;">章节名称</label>
                                <div >
                                    <input type="text" class="form-control"  placeholder="请输入章节名称" id="chapterTitle" name="chapterTitle" maxlength="15">
                                </div>
                            </div>
                            <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" >
                                <label class="control-label" style="width: 120px;text-align: left;">章节内容</label>
<!--                                <div >-->
<!--                                    <div id="odiv" style="display:none;position:absolute;z-index:100;">-->
<!--                                        <img src="/js/crm/trumbowy/assets/pic/sx.png" title="缩小" border="0" alt="缩小" onclick="sub(-1);"/>-->
<!--                                        <img src="/js/crm/trumbowy/assets/pic/fd.png" title="放大" border="0" alt="放大" onclick="sub(1)"/>-->
<!--                                        <img src="/js/crm/trumbowy/assets/pic/cz.png" title="重置" border="0" alt="重置" onclick="sub(0)"/>-->
<!--                                        <img src="/js/crm/trumbowy/assets/pic/sc.png" title="删除" border="0" alt="删除" onclick="del();odiv.style.display='none';"/>-->
<!--                                    </div>-->
<!--                                    <div  onmousedown="show_element(event)" style="clear:both" id="customized-buttonpane" class="editor"></div>-->
<!--                                </div>-->
                                <div id="editor" onmouseup="show_element(event)"></div>
                                <div class="redvalidators" style="display: none;color: red">
                                    章节内容不能为空
                                </div>

                            </div>
                        </div>


                    </div>
                    <div class="modal-footer" style="display: flex;justify-content: center;">&nbsp;&nbsp;&nbsp;
                        <button style="margin-right: 20px;" type="submit" class="btn btn-primary" onclick="btnTrum()" name="submit" id="sureSubmit">确定</button>
                        <button type="button" class="btn btn-default" data-dismiss="modal" >关闭</button>
                    </div>
                </form>

            </div>
        </div>
    </div>


</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<script src="/js/crm/common/city.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!--自定义js-->
<!--<script src="/js/crm/productManager/memberProductForm.js"></script>-->
<!--编辑器-->
<!--<script src="/js/crm/trumbowy/assets/trumbowyg.js"></script>-->
<!--<script src="/js/crm/trumbowy/assets/plugins/base64/trumbowyg.base64.js"></script>-->

<script type="text/javascript" src="/js/froala_editor.min.js"></script>
<script type="text/javascript" src="/js/froala_editor.pkgd.min.js"></script>

<!--分页-->
<script type="text/javascript" src="/js/crm/followPlanManager/jquery-pager.js"></script>

<script src="/js/crm/productManager/knowledgItem.js"></script>
<script>



</script>
</html>